# eric7.PipInterface.PipFileSelectionDialog

Module implementing a dialog to enter a file to be processed.

### Global Attributes

None

### Classes

PipFileSelectionDialog | Class implementing a dialog to enter a file to be processed.

### Functions

None

## PipFileSelectionDialog

Class implementing a dialog to enter a file to be processed.

### Derived from

QDialog, Ui_PipFileSelectionDialog

### Class Attributes

None

### Class Methods

None

### Methods

PipFileSelectionDialog | Constructor
__updateOk | Private slot to set the state of the OK button.
getData | Public method to retrieve the entered data.

### Static Methods

None

#### PipFileSelectionDialog (Constructor)

PipFileSelectionDialog(mode, install=True, parent=None)

Constructor

mode (str)
  mode of the dialog
install (bool)
  flag indicating an install action
parent (QWidget)
  reference to the parent widget

#### PipFileSelectionDialog.__updateOk

__updateOk()

Private slot to set the state of the OK button.

#### PipFileSelectionDialog.getData

getData()

Public method to retrieve the entered data.

Return:
  tuple containing the path of the selected file, a flag indicating to install all optional dependencies a list of specific dependencies to be installed and a flag indicating to install to the user install directory

Return Type:
  tuple of (str, bool, list of str, bool)

Up